package nkr1pt.popkorn.properties;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Object oriented representation of popkorn.properties
 *
 * @author Kristof Vanhaeren
 */
public class PopkornProperties implements Cloneable {

    private static final Logger logger = Logger.getLogger(PopkornProperties.class.getName());

    private String downloadCandidates;

    private String downloadInProgress;

    private String downloadCompleted;

    private String downloadFailed;

    private String extractionFailed;

    private String rapidshareLogin;

    private String rapidsharePassword;

    private String scheduler;

    private String keystorePassword;

    public String getDownloadCandidates() {
        return downloadCandidates;
    }

    public void setDownloadCandidates(String downloadCandidates) {
        this.downloadCandidates = downloadCandidates;
    }

    public String getDownloadInProgress() {
        return downloadInProgress;
    }

    public void setDownloadInProgress(String downloadInProgress) {
        this.downloadInProgress = downloadInProgress;
    }

    public String getDownloadCompleted() {
        return downloadCompleted;
    }

    public void setDownloadCompleted(String downloadCompleted) {
        this.downloadCompleted = downloadCompleted;
    }

    public String getDownloadFailed() {
        return downloadFailed;
    }

    public void setDownloadFailed(String downloadFailed) {
        this.downloadFailed = downloadFailed;
    }

    public String getExtractionFailed() {
        return extractionFailed;
    }

    public void setExtractionFailed(String extractionFailed) {
        this.extractionFailed = extractionFailed;
    }

    public String getRapidshareLogin() {
        return rapidshareLogin;
    }

    public void setRapidshareLogin(String rapidshareLogin) {
        this.rapidshareLogin = rapidshareLogin;
    }

    public String getRapidsharePassword() {
        return rapidsharePassword;
    }

    public void setRapidsharePassword(String rapidsharePassword) {
        this.rapidsharePassword = rapidsharePassword;
    }

    public String getScheduler() {
        return scheduler;
    }

    public void setScheduler(String scheduler) {
        this.scheduler = scheduler;
    }

    public String getKeystorePassword() {
        return keystorePassword;
    }

    public void setKeystorePassword(String keystorePassword) {
        this.keystorePassword = keystorePassword;
    }

    @Override
    public Object clone() {
        try {
            return super.clone();
        } catch (CloneNotSupportedException ex) {
            logger.log(Level.SEVERE, ex.getMessage());
        }

        return null;
    }

}